package jifenbao.com.expandlistview;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.AbsListView;
import android.widget.ListView;

import jifenbao.com.jifenbao.R;

/**
 * Created by longteng on 2016-6-5.
 */
public class FooterLogoListView extends ListView{

    public FooterLogoListView(Context context) {
        this(context,null);
    }

    public FooterLogoListView(Context context, AttributeSet attrs) {
        this(context, attrs,0);
    }

    public FooterLogoListView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        View LogoView = View.inflate(context, R.layout.activity_footer_logo,null);
        AbsListView.LayoutParams lp = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
        LogoView.setLayoutParams(lp);
        addFooterView(LogoView);
    }
}
